package com.zh.flowable.domain.flow.service;

import lombok.Data;
import org.flowable.engine.history.HistoricProcessInstance;
import org.flowable.engine.runtime.ProcessInstance;
import org.flowable.task.api.Task;
import org.flowable.task.api.history.HistoricTaskInstance;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author
 * @date 2025/8/25
 */
@Data
public class ProcessInstDetail implements Serializable {
    private ProcessInstance instance;
    private List<Task> tasks;

    private HistoricProcessInstance hiInstance;
    private List<HistoricTaskInstance> hiTasks;

//    private Map<String, Object> variables;
}

